package com.shujia;

import java.io.PrintStream;

public class Demo2Java {
    public static void main(String[] args) {

        //获取到控制台输出流
        PrintStream out = System.out;

        out.println("java");


        //在java中使用scala的类
        Demo5Student student = new Demo5Student();

        student.print();



    }
}
